﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebAPI
{
    /// <summary>
    /// Summary description for test1
    /// </summary>
    public class test1 : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            //string orderId = "20130526000004";
            //MM.LibraryAPI.Common.SetOrderStatus(orderId);

            //string strTest = "<notify><seller_email>zhifubao@yhstar.cn</seller_email><partner>2088011017087670</partner><payment_type>1</payment_type><buyer_email>290678259@qq.com</buyer_email><trade_no>2013062248446924</trade_no><buyer_id>2088502865395247</buyer_id><quantity>1</quantity><total_fee>0.02</total_fee><use_coupon>N</use_coupon><is_total_fee_adjust>Y</is_total_fee_adjust><price>0.02</price><out_trade_no>20130622000012</out_trade_no><gmt_create>2013-06-22 13:00:20</gmt_create><seller_id>2088011017087670</seller_id><subject>2元物品</subject><trade_status>WAIT_BUYER_PAY</trade_status><discount>0.00</discount></notify>";
            //string trade_status = MM.LibraryAPI.ZFB.Function.GetStrForXmlDoc(strTest, "notify/trade_status");
            //string OrderID = MM.LibraryAPI.ZFB.Function.GetStrForXmlDoc(strTest, "notify/out_trade_no");
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}